home *** CD-ROM | disk | FTP | other *** search
- PROT.BAS , PROT.COM , UNPROT.BAS , and UNPROT.COM are programs which allow
- one to make doubly sure that a file does now get inadvertantly deleted if
- the user does not wish it to be. PROT.BAS and UNPROT.BAS create the .COM
- files of the same names, respectively.
-
- It should be noted that PROT.COM does *not* copy protect the file. The
- PROT-ected file will copy as many times as you key in the instruction, or
- until the disk wears out. What it WILL do is keep the file from being the
- victim of an ERASE, DEL, or even OPEN.
-
- *****IMPORTANT*****
- This file will protect .COM and .EXE files womderfully. It will also protect
- .BAS files, but it will do it so well that the file will not be runnable. Any
- .COM or .EXE file that is PROT-ected will be runnable, however.
-
- To run PROT.COM merely key in:
-
- PROT a:filespec.ext
-
- And it's done. To UNPROT-ect just substitute UNPROT for PROT. Simple, eh?
-
- The basics of what the PROT.COM file's actions are straightforward : when the
- file is subject to a DEL, it will return a 'File Not Found' error.
-
- The program is copied verbatim from PC Magazine, vol 3 #2, user-to-user column,
- and I supplied the little hand-holding exercise in the .BAS programs.
-
- -matt
-
- PC Magazine, vol 3 #2, user-to-us